#!/bin/bash

# 开始下载
URL=https://github.com/openresty/lua-nginx-module/archive/v0.10.16rc4.tar.gz
source ../linux/download_unzip.sh "lua-nginx-module" $URL

#============== 调用本脚本时可用变量 ==============
#>>> $FILE_PATH 文件绝对路径：/opt/software/v0.10.16rc4.tar.gz
#>>> $FILE_EXTENSION 文件后缀：gz
#>>> $File_HOME 软件HOME：/opt/module/lua-nginx-module/lua-nginx-module-0.10.16rc4
#>>> $REPO_PATH 仓库目录：/opt/repository/lua-nginx-module


mv $File_HOME lua-nginx-module

export LUAJIT_LIB=/usr/local/lib
export LUAJIT_INC=/usr/local/include/luajit-2.0